
package Textpackage;

import java.util.Collection;
import javax.ejb.CreateException;
import javax.ejb.EJBLocalHome;
import javax.ejb.FinderException;


/**
 * This is the local-home interface for Razdel enterprise bean.
 */
public interface RazdelLocalHome extends EJBLocalHome {
    
    RazdelLocal findByPrimaryKey(Integer key)  throws FinderException;

    public RazdelLocal create(Integer id, int razdel, int podrazdel, int podpodrazdel, String text, int flagtext) throws CreateException;

    /**
     * 
     */
    Collection findById(Integer id) throws FinderException;

    /**
     * 
     */
    Collection findByRazdel(int razdel) throws FinderException;

    /**
     * 
     */
    Collection findByPodrazdel(int podrazdel) throws FinderException;

    /**
     * 
     */
    Collection findByPodpodrazdel(int podpodrazdel) throws FinderException;

    /**
     * 
     */
    Collection findByText(String text) throws FinderException;

    /**
     * 
     */
    Collection findByFlagtext(int flagtext) throws FinderException;

    Collection findByAll() throws javax.ejb.FinderException;
    
    
}
